package com.training.pojo.chengshu;

import java.util.HashSet;
import java.util.Set;

/**
 * UDept entity. @author MyEclipse Persistence Tools
 */

public class UDept implements java.io.Serializable {

	// Fields

	private Integer deptid;
	private UUser UUser;
	private String deptname;
	private String deptnote;
	private Integer isdelete;
	private Set motorRooms = new HashSet(0);
	private Set UUsers = new HashSet(0);

	// Constructors

	/** default constructor */
	public UDept() {
	}

	/** full constructor */
	public UDept(UUser UUser, String deptname, String deptnote, Set motorRooms,
			Set UUsers) {
		this.UUser = UUser;
		this.deptname = deptname;
		this.deptnote = deptnote;
		this.motorRooms = motorRooms;
		this.UUsers = UUsers;
	}

	// Property accessors
   
	
	public Integer getDeptid() {
		return this.deptid;
	}

	public Integer getIsdelete() {
		return isdelete;
	}

	public void setIsdelete(Integer isdelete) {
		this.isdelete = isdelete;
	}

	public void setDeptid(Integer deptid) {
		this.deptid = deptid;
	}

	public UUser getUUser() {
		return this.UUser;
	}

	public void setUUser(UUser UUser) {
		this.UUser = UUser;
	}

	public String getDeptname() {
		return this.deptname;
	}

	public void setDeptname(String deptname) {
		this.deptname = deptname;
	}

	public String getDeptnote() {
		return this.deptnote;
	}

	public void setDeptnote(String deptnote) {
		this.deptnote = deptnote;
	}

	public Set getMotorRooms() {
		return this.motorRooms;
	}

	public void setMotorRooms(Set motorRooms) {
		this.motorRooms = motorRooms;
	}

	public Set getUUsers() {
		return this.UUsers;
	}

	public void setUUsers(Set UUsers) {
		this.UUsers = UUsers;
	}

}